package com.znsd.study.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.znsd.entitys.BlogsInfo;

public interface BlogsDao {
	public int addBolgs(BlogsInfo blogs);
	public List<BlogsInfo> queryAll(@Param("blogs_state")String blogs_state,@Param("user_id")String user_id,@Param("search") String search,@Param("page") int page);
	public long queryCount();
	public BlogsInfo queryOne(int id);
	public int updateDz(BlogsInfo blogs);
	public int delBlogs(int id);
}
